<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Woods</title>
<g:if env="development"><link rel="stylesheet" href="${resource(dir: 'css', file: 'estilo1.css')}" type="text/css"></g:if>
</head>
<body>
<div class="container">
<div class="header"><a href="#"><img src="${resource(dir: 'images', file: 'wood1.jpg')}" alt="logotype " name="logo" width="1035" height="210" id="logo" style="background-color: #8090AB; display:block;" /></a> 
<!-- end .header --></div>
<div class="sidebar1">
<ul class="nav">
<li><g:link controller="Bill/create">New Delivery</g:link></li>
<li><g:link controller="Customer/create">New Customer</g:link></li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<!-- end .sidebar1 --></div>
<div class="content">

<div align="center">
<div align="left">
<h3>Bill N 00${bills}</h3>
<table align="center">

<tr>
<td align="left"><b>Customer</b> </td>
<td align="right">${bills.customer.name} ${bills.customer.lastname}</td>
</tr>
<tr>
<td align="left"><b>Delivery address</b> </td>
<td align="right">${bills.customer.address}</td>
</tr>
</table>
<table border="1" bordercolor="black" align="center">
<tr align="center">
<td><b>Quantity</b></td>
<td><b>Item</b></td>
<td><b>Unit Price</b></td>
<td><b>Total Price</b></td>
</tr>
<tr align="center">
<td>${bills.cherry}</td>
<td align="left" >Cherry</td>
<td align="right">$5.95</td>
<td align="right">$${cherryP}</td>
</tr>
<tr align="center">
<td>${bills.curlyMaple}</td>
<td align="left">Curly Maple</td>
<td align="right">$6</td>
<td align="right">$${curlyMP}</td>
</tr>
<tr align="center">
<td>${bills.genuineMahogany}</td>
<td align="left">Genuine Mahogany</td>
<td align="right">$9.6</td>
<td align="right">$${genuineMP}</td>
</tr>
<tr align="center">
<td>${bills.wenge}</td>
<td align="left">Wenge</td>
<td align="right">$22.35</td>
<td align="right">$${wengeP}</td>
</tr>
<tr align="center">
<td>${bills.whiteOak}</td>
<td align="left">White Oak</td>
<td align="right">$6.7</td>
<td align="right">$${whiteOP}</td>
</tr>
<tr align="center">
<td>${bills.sawdust}</td>
<td align="left">Sawdust</td>
<td align="right">$1.5</td>
<td align="right">$${sawdustP}</td>
</tr>
<tr>
<td></td>
<td></td>
<td align="right"><b>Total</b></td>
<td align="right">$${totalP}</td>
</table>
<br/>
<br/>
<div align="center">Shiping time = ${maxim}</div> 
</div>
</div>
<br/>
<br/>
<div align="center">
<g:link controller="PdfGenerator" ><img src="${resource(dir: 'images', file: 'boton.jpg')}" alt="boton" name="PDF" width="80" height="30" id="pdf_file" style="background-color: #8090AB; display:block;" /></a></g:link>
</div>
<!-- end .content --></div><div class="footer">
<p> Practice 3. Software Engineer II , Group C</p>
<!-- end .footer --></div>
<!-- end .container --></div>
</body>
</html>